package com.hoas.quickstart.threads.chapter02.chapter02_2_11_01;

public class ThreadB extends Thread {

    private Service service;

    public ThreadB(Service service) {
        this.service = service;
    }

    @Override
    public void run() {
        super.run();

        service.methodB();
    }
}
